home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…stman Always Clicks Twice / ADC Developer CD (1993-01) (''The Postman Always Clicks Twice'')_iso / Dev.CD 199301.iso / Development Platforms / Apple II / Essentials / MPW IIGS Interfaces / AIIGSIncludes / E16.Resources < prev    next >
Encoding:
Text File  |  1992-03-04  |  4.4 KB  |  134 lines  |  [TEXT/MPS ]

  1. ; File:  E16.Resources
  2. ;
  3. ;
  4. ; Copyright Apple Computer, Inc. 1986-92
  5. ; All Rights Reserved
  6. ;
  7. ;
  8. resLogOut EQU $0
  9. resLogIn EQU $1
  10. resLogApp EQU $0
  11. resLogSys EQU $2
  12. resForkUsed EQU $1E01  ; Resource fork not empty
  13. resBadFormat EQU $1E02  ; Format of resource fork is unknown
  14. resNoConverter EQU $1E03  ; No converter routine available for resource type
  15. resNoCurFile EQU $1E04  ; there are no current open resource files
  16. resDupID EQU $1E05  ; ID is already used
  17. resNotFound EQU $1E06  ; resource was not found
  18. resFileNotFound EQU $1E07  ; resource file not found
  19. resBadAppID EQU $1E08  ; User ID not found, please call ResourceStartup
  20. resNoUniqueID EQU $1E09  ; a unique ID was not found
  21.     IF &FINDSYM(&SYSGLOBAL,'RESINDEXRANGE')=0 AND &FINDSYM(&SYSGLOBAL,'resindexrange')=0 THEN  ; Index is out of range
  22. resIndexRange EQU $1E0A
  23.     ENDIF
  24. resSysIsOpen EQU $1E0B  ; System file is already open
  25. resHasChanged EQU $1E0C  ; Resource marked changed; specified operation not allowed
  26. resDiffConverter EQU $1E0D  ; Different converter already logged in for this resource type
  27. resDiskFull EQU $1E0E  ; Volume is full
  28. resInvalidShutDown EQU $1E0F ;can't shut down ID 401E
  29. resNameNotFound EQU $1E10 ;no resource with given name
  30. resBadNameVers EQU $1E11 ;bad version in rResName resource
  31. resDupStartUp EQU $1E12 ;already started with this ID
  32. resInvalidTypeOrID EQU $1E13 ;type or ID is 0
  33.  
  34.  
  35. resChanged EQU $0020
  36. resPreLoad EQU $0040
  37. resProtected EQU $0080
  38. resAbsLoad EQU $0400
  39. resConverter EQU $0800
  40. resMemAttr EQU $C31C  ; Flags passed to the NewHandle Memory Manager call
  41. systemMap EQU $0001
  42. mapChanged EQU $0002
  43. romMap EQU $0004
  44. resNameOffset EQU $10000  ; type holding names
  45. resNameVersion EQU $0001
  46. sysFileID EQU $0001
  47.  
  48. rIcon EQU $8001  ; Icon type
  49. rPicture EQU $8002  ; Picture type
  50. rControlList EQU $8003  ; Control list type
  51. rControlTemplate EQU $8004  ; Control template type
  52. rC1InputString EQU $8005  ; GS/OS class 1 input string
  53. rPString EQU $8006  ; Pascal string type
  54. rStringList EQU $8007  ; String list type
  55. rMenuBar EQU $8008  ; MenuBar type
  56. rMenu EQU $8009  ; Menu template
  57. rMenuItem EQU $800A  ; Menu item definition
  58. rTextForLETextBox2 EQU $800B  ; Data for LineEdit LETextBox2 call
  59. rCtlDefProc EQU $800C  ; Control definition procedure type
  60. rCtlColorTbl EQU $800D  ; Color table for control
  61. rWindParam1 EQU $800E  ; Parameters for NewWindow2 call
  62. rWindParam2 EQU $800F  ; Parameters for NewWindow2 call
  63. rWindColor EQU $8010  ; Window Manager color table
  64. rTextBlock EQU $8011  ; Text block
  65. rStyleBlock EQU $8012  ; TextEdit style information
  66. rToolStartup EQU $8013  ; Tool set startup record
  67. rResName EQU $8014  ; Resource name
  68. rAlertString EQU $8015  ; AlertWindow input data
  69. rText EQU $8016  ; Unformatted text
  70. rCodeResource EQU $8017
  71. rCDEVCode EQU $8018
  72. rCDEVFlags EQU $8019
  73. rTwoRects EQU $801A  ; Two rectangles
  74. rFileType EQU $801B  ; Filetype descriptors--see File Type Note $42
  75. rListRef EQU $801C  ; List member
  76. rCString EQU $801D  ; C string
  77. rXCMD EQU $801E
  78. rXFCN EQU $801F
  79. rErrorString EQU $8020  ; ErrorWindow input data
  80. rKTransTable EQU $8021  ; Keystroke translation table
  81. rWString EQU $8022  ; not useful--duplicates $8005
  82. rC1OutputString EQU $8023  ; GS/OS class 1 output string
  83. rSoundSample EQU $8024
  84. rTERuler EQU $8025  ; TextEdit ruler information
  85. rFSequence EQU $8026
  86. rCursor EQU $8027  ; Cursor resource type
  87. rItemStruct EQU $8028
  88. rVersion EQU $8029
  89. rComment EQU $802A
  90. rBundle EQU $802B
  91. rFinderPath EQU $802C
  92. rPaletteWindow EQU $802D ; Used by HyperCard IIgs 1.1
  93. rTaggedStrings EQU $802E
  94. rPatternList EQU $802F
  95. rRectList EQU $C001
  96. rPrintRecord EQU $C002
  97. rFont EQU $C003
  98.  
  99. ; ResHeaderRec offsets
  100. rFileVersion    EQU    $0000    ;long
  101. rFileToMap        EQU    $0004    ;long
  102. rFileMapSize    EQU    $0008    ;long
  103. rFileMemo        EQU    $000C    ;128 bytes
  104. rFileRecSize    EQU    $008C
  105.  
  106. ; MapRec offsets
  107. mapNext            EQU    $0000    ;handle
  108. mapFlag            EQU    $0004    ;word
  109. mapOffset        EQU    $0006    ;long
  110. mapSize            EQU    $000A    ;long
  111. mapToIndex        EQU    $000E    ;word
  112. mapFileNum        EQU    $0010    ;word
  113. mapID            EQU    $0012    ;word
  114. mapIndexSize    EQU    $0014    ;long
  115. mapIndexUsed    EQU    $0018    ;long
  116. mapFreeListSize    EQU    $001C    ;word
  117. mapFreeListUsed    EQU    $001E    ;word
  118. mapFreeList        EQU    $0020    ;"n" bytes
  119. ;mapIndex        EQU    mapFreeList+sizeof(mapFreeList)
  120.  
  121. ; FreeBlockRec offsets
  122. blkOffset        EQU    $0000    ;long
  123. blkSize            EQU    $0004    ;long
  124. blkRecSize        EQU    $0008
  125.  
  126. ; ResRefRec offsets
  127. resType            EQU    $0000    ;word
  128. resID            EQU    $0002    ;long
  129. resOffset        EQU    $0006    ;long
  130. resAttr            EQU    $000A    ;word
  131. resSize            EQU    $000C    ;long
  132. resHandle        EQU    $0010    ;handle
  133. resRecSize        EQU    $0014
  134.